import React from "react";
import { NavLink, Outlet } from "react-router-dom";

function About(props) {
  return (
    <div>
      <h1>readme</h1>
      <p>
        Use this system to familiarize yourself with React and the use of React
        Router
      </p>
      <p>Contact us</p>
      <div className="contact-info">
        <NavLink to={`/about/email`}>email</NavLink>
        <NavLink to={`/about/phone`}>phone</NavLink>
        <Outlet/>
      </div>
    </div>
  );
}

export default About;
